package com.ls.lserp.dbaccess.Entity;

import java.math.BigDecimal;
import java.util.Date;

import com.ls.lserp.common.persistence.DataEntity;
import com.ls.lserp.modules.setting.entity.Ognization;

public class FinanceEntity extends DataEntity<FinanceEntity>{
	//组织类
	private Ognization ognization;
	//主键ID
    private Long financeId;
    //工厂机构ID
    private long factoryId;
    //对应机构ID
    private long ognizationId;
    //业务期间（YYYYMM）
    private Date financePeriod;
    //业务期间（YYYYMM）Str
    private String financePeriodStr;
    //业务期间(年)
    private String dateYear;
    //业务期间(月)
    private String dateMonth;
    //业务类别（采购 外发 订单 预付款 样品等等）
    private String financeCategory;
    //业务ID
    private long financeContractId;
    //业务NO
    private String financeContractNo;
    //相关会计科目ID
    private long financeItemId;
    //货币类别
    private String financeCurrency;
    //结算登录日期
    private Date financeDate;
    //借方合计金额
    private BigDecimal debitAmount;
    //贷方合计金额
    private BigDecimal creditAmount;
    //合计金额
    private BigDecimal totalAmount;
    //订单完成状态
    private String orderStatus;
    //入账状态
    private String accountsStatus;
    //结算状态
    private String settlementStatus;
    //审核状态
    private String auditStatus;
    //tab页状态
    private int tabPageStatus;
	
    
    
	/**
	 * @return the orderStatus
	 */
	public String getOrderStatus() {
		return orderStatus;
	}
	/**
	 * @param orderStatus the orderStatus to set
	 */
	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
	public int getTabPageStatus() {
		return tabPageStatus;
	}
	public void setTabPageStatus(int tabPageStatus) {
		this.tabPageStatus = tabPageStatus;
	}
	
	/**
	 * @return the settlementStatus
	 */
	public String getSettlementStatus() {
		return settlementStatus;
	}
	/**
	 * @param settlementStatus the settlementStatus to set
	 */
	public void setSettlementStatus(String settlementStatus) {
		this.settlementStatus = settlementStatus;
	}
	/**
	 * @return the financePeriodStr
	 */
	public String getFinancePeriodStr() {
		return financePeriodStr;
	}
	/**
	 * @param financePeriodStr the financePeriodStr to set
	 */
	public void setFinancePeriodStr(String financePeriodStr) {
		this.financePeriodStr = financePeriodStr;
	}
	/**
	 * @return the ognization
	 */
	public Ognization getOgnization() {
		return ognization;
	}
	/**
	 * @param ognization the ognization to set
	 */
	public void setOgnization(Ognization ognization) {
		this.ognization = ognization;
	}
	/**
	 * @return the dateYear
	 */
	public String getDateYear() {
		return dateYear;
	}
	/**
	 * @param dateYear the dateYear to set
	 */
	public void setDateYear(String dateYear) {
		this.dateYear = dateYear;
	}
	/**
	 * @return the dateMonth
	 */
	public String getDateMonth() {
		return dateMonth;
	}
	/**
	 * @param dateMonth the dateMonth to set
	 */
	public void setDateMonth(String dateMonth) {
		this.dateMonth = dateMonth;
	}
	/**
	 * @return the financeId
	 */
	public Long getFinanceId() {
		return financeId;
	}
	/**
	 * @param financeId the financeId to set
	 */
	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}
	/**
	 * @return the factoryId
	 */
	public long getFactoryId() {
		return factoryId;
	}
	/**
	 * @param factoryId the factoryId to set
	 */
	public void setFactoryId(long factoryId) {
		this.factoryId = factoryId;
	}
	/**
	 * @return the ognizationId
	 */
	public long getOgnizationId() {
		return ognizationId;
	}
	/**
	 * @param ognizationId the ognizationId to set
	 */
	public void setOgnizationId(long ognizationId) {
		this.ognizationId = ognizationId;
	}
	
	/**
	 * @return the financePeriod
	 */
	public Date getFinancePeriod() {
		return financePeriod;
	}
	/**
	 * @param financePeriod the financePeriod to set
	 */
	public void setFinancePeriod(Date financePeriod) {
		this.financePeriod = financePeriod;
	}
	/**
	 * @return the financeCategory
	 */
	public String getFinanceCategory() {
		return financeCategory;
	}
	/**
	 * @param financeCategory the financeCategory to set
	 */
	public void setFinanceCategory(String financeCategory) {
		this.financeCategory = financeCategory;
	}
	/**
	 * @return the financeContractId
	 */
	public long getFinanceContractId() {
		return financeContractId;
	}
	/**
	 * @param financeContractId the financeContractId to set
	 */
	public void setFinanceContractId(long financeContractId) {
		this.financeContractId = financeContractId;
	}
	/**
	 * @return the financeContractNo
	 */
	public String getFinanceContractNo() {
		return financeContractNo;
	}
	/**
	 * @param financeContractNo the financeContractNo to set
	 */
	public void setFinanceContractNo(String financeContractNo) {
		this.financeContractNo = financeContractNo;
	}
	/**
	 * @return the financeItemId
	 */
	public long getFinanceItemId() {
		return financeItemId;
	}
	/**
	 * @param financeItemId the financeItemId to set
	 */
	public void setFinanceItemId(long financeItemId) {
		this.financeItemId = financeItemId;
	}
	/**
	 * @return the financeCurrency
	 */
	public String getFinanceCurrency() {
		return financeCurrency;
	}
	/**
	 * @param financeCurrency the financeCurrency to set
	 */
	public void setFinanceCurrency(String financeCurrency) {
		this.financeCurrency = financeCurrency;
	}
	/**
	 * @return the financeDate
	 */
	public Date getFinanceDate() {
		return financeDate;
	}
	/**
	 * @param financeDate the financeDate to set
	 */
	public void setFinanceDate(Date financeDate) {
		this.financeDate = financeDate;
	}
	/**
	 * @return the debitAmount
	 */
	public BigDecimal getDebitAmount() {
		return debitAmount;
	}
	/**
	 * @param debitAmount the debitAmount to set
	 */
	public void setDebitAmount(BigDecimal debitAmount) {
		this.debitAmount = debitAmount;
	}
	/**
	 * @return the creditAmount
	 */
	public BigDecimal getCreditAmount() {
		return creditAmount;
	}
	/**
	 * @param creditAmount the creditAmount to set
	 */
	public void setCreditAmount(BigDecimal creditAmount) {
		this.creditAmount = creditAmount;
	}
	/**
	 * @return the totalAmount
	 */
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	/**
	 * @param totalAmount the totalAmount to set
	 */
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	/**
	 * @return the accountsStatus
	 */
	public String getAccountsStatus() {
		return accountsStatus;
	}
	/**
	 * @param accountsStatus the accountsStatus to set
	 */
	public void setAccountsStatus(String accountsStatus) {
		this.accountsStatus = accountsStatus;
	}
	/**
	 * @return the auditStatus
	 */
	public String getAuditStatus() {
		return auditStatus;
	}
	/**
	 * @param auditStatus the auditStatus to set
	 */
	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

    
    
}